<template>
    <div>
        <tabbar :msg="'/notice'"></tabbar>
        <!-- 轮播图 -->
        <div style="padding-top: 50px;">
            <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
                <van-swipe-item>
                    <div class="swipe-item bg1">
                        <div class="gradient-text">
                            公司公告
                        </div>
                    </div>
                </van-swipe-item>
            </van-swipe>
        </div>
        <div style="min-height: 60vh;">
            <van-empty description="暂无数据" />
        </div>
        <!-- 底部 -->
         <footers></footers>
    </div>
</template>
<script>
import tabbar from "@/components/tabbar";
import footers from "@/components/footer";
export default {
    name: 'home',
    components: {
        tabbar,footers
    }
}
</script>
<style scoped lang="scss">
.swipe-item {
    height: 152px;
    background: url('../../images/home/bg1.png') no-repeat center;
    background-size: cover;
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 24px;
    text-align: center;
    // line-height: 152px;
    position: relative;
}

.bg1 {
    background: url('../../images/about/bg1.png') no-repeat center;
    background-size: cover;
}

// .bg2 {
//     background: url('../../images/home/bg2.png') no-repeat center;
//     background-size: cover;
// }

// .bg3 {
//     background: url('../../images/home/bg3.png') no-repeat center;
//     background-size: cover;
// }

.gradient-text {
    width: 100%;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* font-size: 58px; */
    /* Adjust font size as needed */
}

::v-deep .van-swipe__indicator {
    width: 12px;
    height: 2px;
    border-radius: 0;
}

.core_box {
    .core_li {
        padding: 0 12px;

        .core_item {
            width: 100%;
            // height: 164px;
            background: #FFFFFF;
            box-shadow: 0px 0px 8px 0px rgba(158, 175, 209, 0.38);
            border-radius: 4px;
            margin-bottom: 12px;
            display: flex;
            // justify-content: center;
            flex-direction: column;
            align-items: center;
            padding: 18px 0;
            box-sizing: border-box;

            img {
                width: 48px;
            }

            .core_title {
                font-family: PingFangSC, PingFang SC;
                font-weight: 500;
                font-size: 14px;
                color: #006FBC;
                margin-top: 14px;
                text-align: center;
            }

            .core_desc {
                font-family: PingFangSC, PingFang SC;
                font-weight: 400;
                font-size: 12px;
                color: #333333;
                margin-top: 10px;
                text-align: center;
            }
        }
    }
}

.title {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #333333;
    // margin: 24px 0 20px 0;
    padding: 24px 0 20px 0;
    text-align: center;
}

</style>